package com.emm.yixun.openapi.hander;

import net.sf.ehcache.CacheManager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.common.app.GetSignedListReqDto;
import com.emm.yixun.common.app.GetSignedListResDto;
import com.emm.yixun.openapi.dto.base.BaseRequestDTO;
import com.emm.yixun.openapi.dto.base.BaseResponseDTO;
import com.emm.yixun.openapi.vo.GetSignedListReqVo;
import com.emm.yixun.customer.service.app.CustomerServiceAppFacade;

/**
 * 查询签约列表接口
 * @author Administrator
 *
 */
@Service("getSignedListHander")
public class GetSignedListHander extends com.emm.yixun.openapi.hander.base.CommonAbstractHander{
	
	@Autowired
	private CustomerServiceAppFacade customerServiceAppFacade;
	
	@Autowired
	private CacheManager cacheManager;
	
	@SuppressWarnings("rawtypes")
	@Override
	public BaseResponseDTO doBusiness(BaseRequestDTO reqDto) {
		GetSignedListReqVo req = (GetSignedListReqVo)reqDto;
		GetSignedListReqDto reqDto1 = req.getParams();
		BaseResponseDTO<GetSignedListResDto> res = new BaseResponseDTO<GetSignedListResDto>();
		res.setResData(customerServiceAppFacade.getSignedList(reqDto1));
		return res;
	}
	
}
